<template>
  <div>
    <!-- <van-sticky> -->
      <van-nav-bar :title="mytitle" left-arrow @click-left="onClickLeft" 
      :fixed='true' :placeholder='true'/>
    <!-- </van-sticky> -->
  </div>
</template>
<script>
export default {
  props: ["mytitle"],
  setup() {
    const onClickLeft = () => history.back();
    return {
      onClickLeft,
    };
  },
};
</script>

<!-- <style lang="scss" scoped>
.van-nav-bar {
  height: 2.75rem;
  width: 100%;
  background-color: #fff;
  top: 0;
  box-sizing: border-box;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 15%);
  position:fixed;
  left: 0;
  overflow: hidden;
  z-index: 10;
}
</style> -->